/**
 * FileName: resume状态管理
 * Created Date: 2022-10-19 18:03:20
 * Author: 文初阳
 * -----
 * Last Modified: 2022-10-19 18:03:20
 * Modified By: 文初阳
 */

import React from 'react';

export type TPageName = 'list' | 'edit' | 'preview' | 'add';

export const ResumeContext = React.createContext<{
    pageName: TPageName;
    setPageName: React.Dispatch<React.SetStateAction<TPageName>>;
}>({
    pageName: 'list',
    setPageName: () => {},
});
